<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"> 
<h:head> 
	<title>#{msgs.titleIndex}</title>
	<link rel="shortcut icon" href="favicon.ico" />
</h:head> 
<h:body>

	<h1>#{msgs.titleIndex}</h1>
	<h:form>
		<h:outputLabel for="q" value="#{msgs.labelSearch}" />
		<h:inputText id="q" value="#{searchQueryBean.query}" />
		<h:commandButton value="#{msgs.buttonGoSearch}" action="search" />
		<h:commandLink action="hosts?faces-redirect=true" value="#{msgs.linkHosts}" />
	</h:form>
	
	<address>
	<h:outputFormat value="#{msgs.formatVersion}">
		<f:param value="#{versionBean.version}" />
	</h:outputFormat>
	<br />
	<h:outputFormat value="#{msgs.formatCopyright}">
		<f:param value="#{versionBean.yearBegin}" />
		<f:param value="#{versionBean.yearEnd}" />
	</h:outputFormat>
	</address>
</h:body>
</html>